equivalent resistance of hexagon